// Created by Administrator on 2015/11/29.

extends setting
block setting_content
    if(message)
        div.text-center #{message}
    else
        form.form-horizontal(action='/user/private/#{user.nick}/update/portrait' method='POST' enctype='multipart/form-data')
            .form-group
                label.col-sm-3.control-label(for="file") 头像：
                .col-sm-4
                    input#file.form-control(type='file' name='portrait')
            .form-group
                .col-sm-offset-3.col-sm-9
                    button.btn.btn-default(type="submit") 提交